<?php
$this->breadcrumbs=array(
	'Faqs'=>array('index'),
	'Create',
);

$this->menu=array(
	array('label'=>'List Faq', 'url'=>array('index')),
	array('label'=>'Manage Faq', 'url'=>array('admin')),
);
?>

<div class="column1 colborder">
	<div class="box">
		<?php $this->beginWidget('zii.widgets.CPortlet', array('title'=>Yii::t('links','Create Faq')));?>
			
				<div class="box-content">
					<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>
				</div>
				
		<?php $this->endWidget();?>
	</div>
</div>

<div class="column2" id="detail-info">
	<div class="box">
		<?php $this->beginWidget('zii.widgets.CPortlet', array('title'=>Yii::t('links','Faqs')));?>
			<div class="box-content">
				<div style="margin-bottom: 10px;">
					<input type="checkbox" name="checkAll" onclick="checkAll($(this),'comment-item');" value="<?php echo $data->com_id;?>" />
					<?php echo Yii::t('common','Check All');?>
					&nbsp;&nbsp;&nbsp;&nbsp;
					<?php echo Yii::t('comment' ,'Comment State');?>：
		
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="button" onclick="actionCommentsBatch();" value="<?php echo Yii::t('admin','Submit');?>" />
					
				</div>	
				<div id="links-detail">
					<?php $this->widget('zii.widgets.CListView', array(
						'dataProvider'=>$dataProvider,
						'itemView'=>'_view',
					)); ?>
				</div>			
			</div>
		<?php $this->endWidget();?>
	</div>

</div>